<!DOCTYPE html>
<html>

<head>
    <include file="Share:meta" />
    <style type="text/css">
    .trstyle0 {
        background-color: #e8e8e8;
    }
    </style>
</head>

<body oncontextmenu="self.event.returnValue=false" ondragstart="return false" class="hold-transition skin-blue sidebar-mini">
    <div class="wrapper">
        <include file="Share:header" />
        <include file="Share:left" />
        <!-- Content Wrapper. Contains page content -->
        <div class="content-wrapper">
            <!-- Content Header (Page header) -->
            <section class="content-header">
                <h1>项目消费统计<small><a target="_blank"></a></small></h1>
                <ol class="breadcrumb">
                    <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
                    <li class="active">项目消费统计</li>
                </ol>
            </section>
            <!-- Main content -->
            <section class="content">
                <div class="box">
                    <div class="box-header with-border">
                        <h3 class="box-title">列表</h3>
                        <div class="box-tools" style="width: 70%;">
                            <div class="row">
                                <form action="/CustomerReport/clist/" method="GET" role="form">
                                    <div class="col-xs-5">
                                        <!-- <input type="text" name="shopname" id="inputEtime" class="form-control" value="" placeholder="请输入门店名称"> -->
                                        <select name="shopid" id="shopid" class="form-control" >
                                            <option value=""></option>
                                            <volist name="shoplist" id="vo">
                                                <option value="{$vo.tid}">{$vo.shopname}</option>
                                            </volist>
                                        </select>
                                        <script type="text/javascript">
                                        $('#shopid').val('{$Think.get.shopid}');
                                        </script>
                                    </div>
                                    <div class="col-xs-5">
                                        <select name="ctype" id="ctype" class="form-control" >
                                            <option value=""></option>
                                            <option value="0">新客</option>
                                            <option value="1">老客</option>
                                            <option value="2">粉丝客</option>
                                        </select>
                                        <script type="text/javascript">
                                        $('#ctype').val('{$Think.get.ctype}');
                                        </script>
                                    </div>
                              
                                    <div class="col-xs-2 input-group-btn">
                                        <button type="submit" class="btn btn-default"><i class="fa fa-search"></i></button>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                    <!-- /.box-header -->
                    <div class="box-body">
                        <table class="table table-bordered HjTable" border="1">
                            <tbody>
                                <tr style="background-color: #E6E6FA;">
                                    <th style="width: 20%;">门店名称</th>
                                    <th style="width: 20%;">客户名称</th>
                                    <th style="width: 20%;">客户类型</th>
                                    <th style="width: 20%;">性别</th>
                                    <th style="width: 20%;">消费次数</th>
                                </tr>
                                <volist name="list" id="vo">
                                    <tr>
                                        <td>{$vo.shopname}</td>
                                        <td>{$vo.realname}</td>
                                        <td>
                                            <switch name="vo.ctype">
                                                <case value="0" break="1">新客</case>
                                                <case value="1" break="1">老客</case>
                                                <case value="2" break="1">粉丝客</case>
                                                <default>
                                            </switch>
                                        </td>
                                        <td>
                                            <switch name="vo.sex">
                                                <case value="0" break="1">女</case>
                                                <case value="1" break="1">男</case>
                                                <case value="2" break="1">保密</case>
                                                <default>
                                            </switch>
                                        </td>
                                        <td>{$vo.number}</td>
                                    </tr>
                                </volist>
                            </tbody>
                        </table>
                    </div>
                    <!-- /.box-body -->
                    <div class="box-footer clearfix">
                        <ul class="pagination pagination-sm no-margin pull-right">
                            {$show}
                        </ul>
                    </div>
                </div>
            </section>
            <!-- /.content -->
        </div>
        <!-- /.content-wrapper -->
        <include file="Share:copyright" />
        <include file="Share:setting" />
    </div>
    <include file="Share:js" />
    <script type="text/javascript">
        $("#reportManage").addClass("active");
        $("#customer_list").addClass("active");
    </script>
</body>

</html>
